<?php

namespace App\Http\Controllers\Recharge;

use App\Http\Controllers\Controller;

class IndexController extends BaseController {

    public function __construct(){
        parent::__construct();
    }

    /** 
     * 首页
     * @synopsis index 
     * @return 
     */
    public function index(){
        $goods = [
            'price1' => '50',
            'price2' => '100'
        ];

        return view('recharge.index', [
            'goods' => $goods
        ]);
    }

    /** 
     * 我的
     * @synopsis user 
     * @return 
     */
    public function user(){
        return view('recharge.user', [
            'user' => $this->user,
        ]);
    }

    /** 
     * 订单
     * @synopsis orders 
     * @return 
     */
    public function orders(){
        return view('recharge.orders', [
        ]);
    }
}
